package com.bkhech.pojo.convertor;


import com.bkhech.pojo.Comment;
import com.bkhech.pojo.bo.CommentBO;
import com.bkhech.pojo.vo.CommentVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CommentConvertor {

    CommentConvertor INSTANCE = Mappers.getMapper(CommentConvertor.class);

    Comment commentBO2Entity(CommentBO commentBO);

    CommentVO commentEntity2VO(Comment comment);
}
